import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/common.less'
import components from './components'
// 全局自定义指令
import defineDirective from '@/directives'

//  测试持久化
// store.commit('user/setProfile', '哈哈')

createApp(App).use(store).use(router).use(components).use(defineDirective).mount('#app')
